/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Core.Annotation;

namespace JDCloudSDK.Waf.Model
{

    /// <summary>
    ///  disableRulesReq
    /// </summary>
    public class DisableRulesReq
    {

        ///<summary>
        /// 实例id，代表要设置的WAF实例
        ///Required:true
        ///</summary>
        [Required]
        public string WafInstanceId{ get; set; }
        ///<summary>
        /// 域名
        ///Required:true
        ///</summary>
        [Required]
        public string Domain{ get; set; }
        ///<summary>
        /// 0:使用规则，1：禁用规则
        ///</summary>
        public int? Disable{ get; set; }
        ///<summary>
        /// 操作的规则id, ruleType非&quot;waf&quot;时必填
        ///</summary>
        public List<int?> Ids{ get; set; }
        ///<summary>
        /// 操作的规则类型，&quot;waf&quot;:waf总体防护开关，&quot;cc&quot;:cc规则，&quot;ratelimit&quot;：限速，&quot;usrdefCookie&quot;:cookie类型的黑白名单，&quot;usrdefGeo&quot;:geo类型的黑白名单，&quot;usrdefHeaders&quot;:header类型的黑白名单，&quot;usrdefIP&quot;:ip类型的黑白名单，&quot;usrdefURI&quot;:uri类型的黑白名单，&quot;filterReqresp&quot;:请求头类型的流量管理，&quot;filterSenseinfo&quot;:敏感信息防泄漏，&quot;usrdefWaf&quot;:waf自定义规则,&quot;rewriteRule&quot;:重写规则（目前是uri重写规则）,&quot;listRule&quot;:黑白名单规则（目前指method黑白名单）,&quot;proxycache&quot;:url缓存，&quot;botUsr&quot;:自定义类型BOT规则,&quot;risk&quot;:风险防护规则,&quot;riskEvent&quot;:风险控制事件,&quot;riskUsrList&quot;:风险控制用户自定义名单
        ///Required:true
        ///</summary>
        [Required]
        public string RuleType{ get; set; }
    }
}
